/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ziad;

import beans.PreventSpamFormBean;
import dto.Topics;
import java.util.Date;
import moderator.ModeratorControlPanel;

/**
 *
 * @author ZiZo
 */
public class SplitTest {

    public static void main(String args[]){
        new SplitTest();
    }
    public SplitTest(){
        Date date = new Date("18-Jul-2011");
        int topicId = 1;
        Topics topics = new Topics();
        topics.setTopicid(topicId);
        ModeratorControlPanel modPanel = new ModeratorControlPanel();
        boolean b = modPanel.split(topics, date);
        System.out.println("result : " + b);
    }
}
